gdkgl: Remove flipping when downloading GL texture
authorTimm Bäder <mail@baedert.org>
Sat, 3 Oct 2020 09:48:36 +0000 (11:48 +0200)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 14 Oct 2020 19:06:12 +0000 (15:06 -0400)
commit9698cd67a1ff01c8f7bf7da76bf3347b9fa0d31b
tree963d37c9a4c180f2e0db36d8c8f157fd45f18171
parentd4efb5b73836f29f59b37471caf3a4d57ce48e35
gdkgl: Remove flipping when downloading GL texture

This fix is correct and fixes:

  1) GL textures being upside down in the inspector. They are getting
     downloaded because they've been created in a different GL context
  2) GL textures being upside down in the cairo renderer (same reason)

However, it breaks the testsuite. We do the flipping via the projection
matrix, but most of the shaders don't care about that.
gdk/gdkgl.c